﻿namespace RuoVea.Fams.Server.Models;

/// <summary>
/// 资产类型
/// 创建人：Admin
/// 日期：2023年10月12日
/// 描述：资产类型实体模型
/// </summary>
[SugarTable(nameof(FamsTypes), "资产类型")]
public class FamsTypes : EntityBase
{
    /// <summary>
    /// 编码
    /// </summary>
    [Required, MaxLength(100)]
    [SugarColumn(ColumnDescription = "编码")]
    public string Code { get; set; }
    /// <summary>
    /// 资产类型名称
    /// </summary>
    [Required, MaxLength(50)]
    [SugarColumn(ColumnDescription = "资产类型名称")]
    public string Name { get; set; }

    /// <summary>
    /// 类型描述
    /// </summary>
    [MaxLength(200)]
    [SugarColumn(ColumnDescription = "类型描述", IsNullable = true)]
    public string Remark { get; set; }
}